﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SpeakTechnology.LogicOfBussiness
{
    class Validation
    {
   public bool Validar_Name(string Name) 
        {
            if(Name=="")
            {
                return true;
            }
            return false;
        }
        public bool Validar_Name_Quantity_Price(string Name, string Quantity, string Price) 
        {
            if ((Name == "") || (Quantity == "") || (Price == "")) 
            {
                return true;
            }
            return false;
        }
        public bool Validar_Name_Quantity_Category_Price_brand(string Name, string Quantity, string Category, string Price, string brand)
        {
            if ((Name == "") || (Quantity == "") || (Category == "") || (Price == "") || (brand==""))
            {
                return true;
            }
            return false;
        }
    }
}
